package com.sooth.micro.process.table;

import com.dream.system.annotation.Column;
import com.dream.system.annotation.Id;
import com.dream.system.annotation.Table;
import lombok.Data;

import java.sql.Types;

/**
 * @Description: 流程设计
 * @Author: Lion Li
 * @Date: 2023-09-30 09:17:37
 */
@Data
@Table("micro_process")
public class MicroProcess {

    /**
     * 流程id
     */
    @Id
    @Column(value = "process_id", jdbcType = Types.VARCHAR)
    private String processId;

    /**
     * 租户编号
     */
    @Column(value = "tenant_id", jdbcType = Types.VARCHAR)
    private String tenantId;

    /**
     * 流程名称
     */
    @Column(value = "process_name", jdbcType = Types.VARCHAR)
    private String processName;

    /**
     * 应用id
     */
    @Column(value = "app_id", jdbcType = Types.BIGINT)
    private Long appId;

    /**
     * 流程数据
     */
    @Column(value = "process_json", jdbcType = Types.VARCHAR)
    private String processJson;
}
